package com.atguigu.tingshu.payment.service;

import com.atguigu.tingshu.vo.payment.WeChatPayVo;
import jakarta.servlet.http.HttpServletRequest;

import java.util.Map;

public interface WxPayService {
    // 创建微信支付订单
    WeChatPayVo createJsapi(String paymentType, String orderNo);

    // 查询支付状态
    boolean queryPayStatus(String orderNo);
    // 微信支付异步通知接口
    void wxnotify(HttpServletRequest request);
}
